package com.sunnos.express.mapper;

import java.util.List;
import java.util.Map;

import com.sunnos.express.entity.Right;
import com.sunnos.express.entity.User;

public interface UserMapper {
	public User getUser(Map<String,Object> param);
	public List<User> getUserList(Map<String,Object> param);
	public int getUserListTotal(Map<String,Object> param);
	public void insertUser(User user);
	public void updateUser(User user);
	public void deleteUser(String param);
	public void changeUserPassword(Map<String,Object> param);
	public List<Right> getUserRights(int param);
	public List<Right> getTopMenusByRoleId(int param);
	public List<Right> getSubMenus(Map<String,Object> param);
	
}
